package cn.learn.domain.strategy.service.rule.chain;

import cn.learn.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @author Sun
 * @Desc 责任链接口
 * @date 2024-10-30-9:53
 */

public interface ILogicChain extends ILogicChainArmory{

    /**
     *  责任链接口
     * @param userId  用户ID
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);



}
